package com.project;

import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;

public class MainGame extends StateBasedGame{
	
	
	public static final String name="Pendragon";
	public static final int windowX = 800;
	public static final int windowY = 600;
	public static final boolean DEBUG = false;
	
	
	
	public MainGame(String name) {
		super(name);
		
		
		
		// TODO Auto-generated constructor stub
	}
	
	

	@Override
	public void initStatesList(GameContainer container) throws SlickException 
	{

		this.addState(new Menu_game());
		this.addState(new Game());
	}
	
	
	public static void main(String[] args) throws SlickException
    {
         AppGameContainer app = new AppGameContainer(new MainGame(MainGame.name));
 
         app.setDisplayMode(windowX, windowY, DEBUG);
         app.start();
    }


}
